<template>
    <p v-for="item in names">{{ item }}</p>
</template>
<script>
export default {
    data() {
        return {
            names:['百战程序员','尚硅谷']
        }
    }
}
</script>